package com.liangsui.cmall.seckill.feign;

import com.liangsui.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * ProductFeignService
 *
 * @author zhangjiawei
 * @email 1533167396@qq.com
 * @date 2022/8/25 18:09
 */
@FeignClient("cmall-product")
public interface ProductFeignService {

    @RequestMapping("/product/skuinfo/info/{skuId}")
    R getSkuInfo(@PathVariable("skuId") Long skuId);
}
